<template>
    <div class="container">
        <div class="heads">
            <div class="heads-title">
                <div class="returns" @click="backTo">
                        <span class="iconfont">&#xe799;</span>
                </div>
                <div class="titles">菜鸟VIP</div>
            </div>
            <div class="others">
                <el-dropdown>
                    <span class="el-dropdown-link">
                        <span class="iconfont">&#xe631;</span>
                    </span>
                    <el-dropdown-menu slot="dropdown">
                        <el-dropdown-item>
                            <span class="iconfont">&#xe62e;</span>
                            <span>我要反馈</span>
                        </el-dropdown-item>
                        <el-dropdown-item>
                            <span class="iconfont">&#xe640;</span>
                            <span>分享</span>
                        </el-dropdown-item>
                        <el-dropdown-item>
                            <span class="iconfont">&#xe6dd;</span>
                            <span>关于</span>
                        </el-dropdown-item>
                    </el-dropdown-menu>
                </el-dropdown>
            </div>
        </div>
        <div class="bodys">
            <div class="vipCard">
                <div class="vipCard-tells">每月4张寄件券，全年可省144元</div>
                <div class="vipCard-content">
                    <div class="vipCard-sale">
                        最低6元起
                    </div>
                    <div class="vipCard-have">
                        立即开通
                    </div>
                </div>
            </div>
            <div class="vipSpecialists">
                <div class="vipSpecialists-title">
                    <div class="bars"></div>
                    <div class="title">
                       <span>VIP会员专享特权</span>
                    </div>
                    <div class="bars"></div>
                </div>
                <div class="vipSpecialists-introduce">
                    <div class="vipSpecialists-introduce-content">
                        <ul>
                            <li>
                                <span class="iconfont">&#xe62d;</span>
                                <div>寄件优惠</div>
                            </li>
                            <li>
                                <span class="iconfont">&#xe62e;</span>
                                <div>专属客服</div>
                            </li>
                            <li>
                                <span class="iconfont">&#xe6a0;</span>
                                <div>超时保障</div>
                            </li>
                            <li>
                                <span class="iconfont">&#xe623;</span>
                                <div>畅通寄件</div>
                            </li>
                            <li>
                                <span class="iconfont">&#xe640;</span>
                                <div>全程托管</div>
                            </li>
                            <li>
                                <span class="iconfont">&#xe7c6;</span>
                                <div>隐私保护</div>
                            </li>
                            <li>
                                <span class="iconfont">&#xe616;</span>
                                <div>丢损必赔</div>
                            </li>
                            <li>
                                <span class="iconfont">&#xe618;</span>
                                <div>裹酱福利</div>
                            </li>
                            <li id="moreInfo">
                                <div>查看权益详情</div>
                                <div>
                                    <span class="iconfont">&#xe799;</span>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: "vip",
    methods:{
        backTo(){
            this.$router.push('/userMine');
        }
    }
}
</script>

<style lang="scss" scoped>
/*引入图标*/
@import "../../../assets/userIconFont/iconfont.css";
@import "../../../style/common";
    .container{
        background-color: #ff9100;
        .heads{
            padding: 50px 0 10px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            &-title{
                display: flex;
                justify-content: center;
                align-items: center;
                .returns{
                    background-color: #8f8e92;
                    opacity: 0.4;
                    border-radius: 0 25px 25px 0;
                    margin-right: 40px;
                    span{
                        font-size: 50px;
                        padding: 10px 10px 10px 20px;
                    }
                }
                .titles{
                    font-size: 30px;
                }
            }
            .others{
                padding-right: 20px;
                span{
                    font-size: 50px;
                }
            }
        }
        .bodys{
            position: relative;
            .vipCard{
                margin: auto;
                background-image: linear-gradient(to right,gray,#dfa857);
                width: 80%;
                height: 300px;
                &-tells{
                    padding: 10px 20px;
                    color: #675b1c;
                }
            }
            .vipCard-content{
                position: absolute;
                top: 190px;
                right: 90px;
                display: flex;
                border-radius: 50px;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                .vipCard-sale{
                    display: inline-block;
                    padding: 3px 10px;
                    border-radius: 30px;
                    color: white;
                    font-size: 20px;
                    background-color: red;
                    width: 120px;
                }
                .vipCard-have{
                    padding: 10px 40px;
                    display: inline-block;
                    border-radius: 50px;
                    font-size: 30px;
                    color: white;
                    background-image: linear-gradient(135deg, #b1b1b1, gray);
                }
            }
            .vipSpecialists{
                background-color: #f6f6f6;
                .vipSpecialists-title{
                    margin: auto;
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    padding: 10px 10px;
                    .bars:nth-of-type(1){
                        width: 200px;
                        height: 5px;
                        background-image: linear-gradient(to right,white,gold);
                    }
                    .bars:nth-of-type(3){
                        width: 200px;
                        height: 5px;
                        background-image: linear-gradient(to left,white,gold);
                    }
                    .title{
                        span{
                            font-size: 30px;
                            background: linear-gradient(to right, red, blue);
                            -webkit-background-clip: text;
                            color: transparent;
                        }
                    }
                }
            }
            .vipSpecialists-introduce{
                background-color: #f6f6f6;
                &-content{
                    ul{
                        margin: auto;
                        width: 600px;
                        text-align: center;
                        padding: 20px 30px;
                        background-color: white;
                        border-radius: 20px;
                        li{
                            text-align: center;
                            display: inline-block;
                            padding: 10px;
                            span{
                                font-size: 50px;
                                color: goldenrod;
                                background-image: linear-gradient(135deg, #c7c1c1, #020101);
                                border-radius: 20px;
                                padding: 10px;
                            }
                            div{
                                padding: 10px;
                            }
                        }
                        #moreInfo{
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            div:nth-of-type(1){
                                color: goldenrod;
                            }
                            div:nth-of-type(2){
                                transform: rotate(180deg);
                                span{
                                    background-image: none;
                                    font-size: 30px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
</style>